package com.itany.cloud.exception;

/**
 * @author 石小俊
 */
public class FeignException extends RuntimeException{
    // 错误码
    private int errorCode;
    // 错误消息
    private String errorMsg;

    public FeignException(int errorCode, String errorMsg) {
        super(errorMsg);
        this.errorCode = errorCode;
        this.errorMsg = errorMsg;
    }
}
